package com.itheima.service.mongo;

import com.itheima.domain.mongo.UserLocation;

import java.util.List;

public interface UserLocationService {

    // 上传地理位置
    void saveLocation(Double latitude, Double longitude, String addrStr, Long userId);


    // 搜附近
    List<Long> searchNearUser(Long userId,Long distance);
}
